package com.atguigu.model.process;

import com.atguigu.model.base.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * className: ProcessRecord
 * description:
 * date: 2023/4/11 0011-0:13
 * <p>
 * project: guigu-oa-parent
 * package: com.atguigu.model.process
 * email: 1085844536@qq.com
 * version:
 *
 * @author WangGuojian
 */
@EqualsAndHashCode(callSuper = true)
@Data
@ApiModel(description = "ProcessRecord")
@TableName("oa_process_record")
public class ProcessRecord extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "审批流程id")
    @TableField("process_id")
    private Long processId;

    @ApiModelProperty(value = "审批描述")
    @TableField("description")
    private String description;

    @ApiModelProperty(value = "状态")
    @TableField("status")
    private Integer status;

    @ApiModelProperty(value = "操作用户id")
    @TableField("operate_user_id")
    private Long operateUserId;

    @ApiModelProperty(value = "操作用户")
    @TableField("operate_user")
    private String operateUser;
}
